package com.txts.road.app.event.service;

import com.txts.road.app.event.model.entity.EventAnnouncementEntity;
import com.txts.road.app.event.model.vo.EventAnnouncementVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 赛事公告服务类
 *
 * @author baoyr
 * @since 2025-07-17 10:47
 */
public interface EventAnnouncementService extends IService<EventAnnouncementEntity> {

    /**
     * 获取赛事公告列表
     *
     * @param eventId 活动ID
     * @return 公告列表
     */
    List<EventAnnouncementVO> getEventAnnouncements(Long eventId);

    /**
     * 获取公告详情
     *
     * @param announcementId 公告ID
     * @return 公告详情
     */
    EventAnnouncementVO getAnnouncementDetail(Long announcementId);

}
